package com.ruoyi.purchase.service;

import com.ruoyi.purchase.domain.Offers;

import java.util.List;

/**
 * offersService接口
 * 
 * @author hmy
 * @date 2025-08-22
 */
public interface IOffersService 
{
    /**
     * 查询offers
     * 
     * @param offerId offers主键
     * @return offers
     */
    public Offers selectOffersByOfferId(Long offerId);

    /**
     * 查询offers列表
     * 
     * @param offers offers
     * @return offers集合
     */
    public List<Offers> selectOffersList(Offers offers);

    /**
     * 新增offers
     * 
     * @param offers offers
     * @return 结果
     */
    public int insertOffers(Offers offers);

    /**
     * 修改offers
     * 
     * @param offers offers
     * @return 结果
     */
    public int updateOffers(Offers offers);

    /**
     * 批量删除offers
     * 
     * @param offerIds 需要删除的offers主键集合
     * @return 结果
     */
    public int deleteOffersByOfferIds(Long[] offerIds);

    /**
     * 删除offers信息
     * 
     * @param offerId offers主键
     * @return 结果
     */
    public int deleteOffersByOfferId(Long offerId);
}
